package com.pt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("forum_topic")
public class ForumTopic {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Integer sectionId;
    
    private String title;
    
    private String content;
    
    private Long authorId;
    
    private Boolean isSticky = false;
    
    private Boolean isLocked = false;
    
    private Integer replyCount = 0;
    
    private Integer viewCount = 0;
    
    private Integer likeCount = 0;
    
    private Long lastReplyId;
    
    private LocalDateTime lastReplyTime;
    
    private LocalDateTime createdTime;
    
    private Boolean isDeleted = false;
} 